%% Cowlib is only used to pull gun, which is using old rebar file
{deps,
 [{cowlib, {git, "https://github.com/ninenines/cowlib", {tag, "2.8.0"}}},
  {gun, {git, "https://github.com/emqx/gun", {tag, "1.3.4"}}},
  {gproc, {git, "https://github.com/uwiger/gproc", {tag, "0.8.0"}}}
 ]}.

{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
            warn_shadow_vars,
            warn_unused_import,
            warn_obsolete_guard,
            debug_info,
            {parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
               locals_not_used, deprecated_function_calls,
               warnings_as_errors, deprecated_functions]}.

{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
 [{test,
   [{deps,
     [{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.2"}}},
      {emqtt, {git, "https://github.com/emqx/emqtt", {tag, "v1.2.2"}}}
     ]}
   ]}
 ]}.
